package com.itheima.mm.service;

import com.itheima.mm.entity.QueryPageBean;
import com.itheima.mm.pojo.Catalog;

import java.util.List;

public interface CatalogService {

    List<Catalog> findListByPage(QueryPageBean queryPageBean);

    Long findTotal(QueryPageBean queryPageBean);

    void add(Catalog catalog);

    void delete(Integer catalogId);
}
